package net.stogi.dsper.ui.shared.module.user;

import net.stogi.common.gwt.dispatch.shared.core.Action;
import net.stogi.dsper.api.dto.UserProfileDto;

public class SaveUserProfileAction implements Action<SaveUserProfileResult> {

	private static final long serialVersionUID = -1259923359453132350L;

	private UserProfileDto userProfile;

	public SaveUserProfileAction(UserProfileDto userProfile) {
		this.userProfile = userProfile;
	}

	protected SaveUserProfileAction() {}

	/**
	 * @return the userProfile
	 */
	public UserProfileDto getUserProfile() {
		return userProfile;
	}

	/**
	 * @param userProfile
	 *            the userProfile to set
	 */
	public void setUserProfile(UserProfileDto userProfile) {
		this.userProfile = userProfile;
	}
}
